Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.runtime.model.persistence

Documentation

Manage (install and persist) external contributions.

The default contribution storage is implemented using the file system. To change the storage implementation you must contribute to the extension point storage.

Note that you should contribute only one storage implementation. Contributing multiple implementation may lead to inconsistent states (changing the storage on the fly).

Implementation

Class: org.nuxeo.runtime.model.persistence.ContributionPersistenceComponent

Services

Extension Points

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.runtime.model.persistence" version="1.0">
  <documentation>
  Manage (install and persist) external contributions.
  
  The default contribution storage is implemented using the file system.
  To change the storage implementation you must contribute to the extension point storage.
  
  Note that you should contribute only one storage implementation.
  Contributing multiple implementation may lead to inconsistent states (changing the storage on the fly).
  
  @author Bogdan Stefanescu (bs@nuxeo.com)
  </documentation>

  <implementation class="org.nuxeo.runtime.model.persistence.ContributionPersistenceComponent"/>

  <service>
	  <provide interface="org.nuxeo.runtime.model.persistence.ContributionPersistenceManager" />
  </service>

  <extension-point name="listeners">
    <documentation>
    A class specifying the storage implementation to use. This class must implement the 
    org.nuxeo.runtime.model.persistence.ContributionStorage interface.
    </documentation>
    <object class="org.nuxeo.runtime.model.persistence.ContributionStorageDescriptor"/>
  </extension-point>


</component>